package com.hqd.ch03.v38.web.method.support;

import com.hqd.ch03.v38.core.MethodParameter;
import com.hqd.ch03.v38.web.context.request.NativeWebRequest;
import com.hqd.ch03.v38.web.servlet.support.ModelAndViewContainer;

/**
 * 参数转换接口
 */
public interface HandlerMethodArgumentResolver {

    boolean supportsParameter(MethodParameter parameter);

    Object resolveArgument(MethodParameter parameter, ModelAndViewContainer mavContainer, NativeWebRequest webRequest) throws Exception;
}
